package com.hxzy.tms.aciton;

import com.hxzy.tms.service.TeamService;

/**
 * 教学过程控制系统首页
 * 
 * @author Administrator
 *
 */
public class IndexAction extends AbstractAction {

    private static final long serialVersionUID = -5046099121353161959L;

    private String team;

    private TeamService teamService;

    @Override
    public String execute() throws Exception {
        assign("teams", teamService.list(2));

        return SUCCESS;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }

    public TeamService getTeamService() {
        return teamService;
    }

    public void setTeamService(TeamService teamService) {
        this.teamService = teamService;
    }

}
